 <div class="widget-box">
    <div class="widget-title title-bar">
      <h3>
        <span>
          {{employee.name}}-{{widget_title}}
        </span>
      </h3> 
      <ul class="title-tag ul-inline">     
        <li>
          <a ui-sref=".new">添加证书</a>
        </li>
      </ul>
    </div>
    <div class="widget-content-table">
      <table>
        <thead>
          <tr>
            <th class="th-no">序号</th>
            <th>证书类型</th>
            <th>证书编号</th>
            <th class="th-time">领证时间</th>
            <!-- <th class="th-time">复审时间</th> -->
            <th class="th-time">过期时间</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>
          <tr ng-repeat="r in employee.employee_certificates ">
            <td>{{$index+1}}</td>
            <td>{{r.certificate.name}}</td>
            <td>{{r.number}}</td>
            <td>{{r.valid_from}}</td>
            <!-- <td>{{r.recheck_time}}</td> -->
            <td>{{r.valid_end}}</td>
            <td>
              <a href="javascript:void(0)" ng-click="edit_certificate(r.id)">编辑</a>
              <a href="javascript:void(0)" ng-confirm-click="你确定要删除此项？" confirmed-click="itemDelete($index)"  >删除</a>
            </td>
          </tr>          
        </tbody>
      </table>
    </div>
    <div ui-view ></div>
</div>

